#! /bin/sh
# Run CWELL with CWP PostScript Graphics

demo=9
psfile=demo${demo}.eps


cwell 

cshot2

suaddhead <demo${demo}traces ftn=1 ns=501 |
sushw key=dt a=4000 |
sugain gagc=1 wagc=0.5 |
supswigp title="Multi-Shot Data (agc)" \
	label1="Time in Seconds"  label2="Trace" >$psfile

# Put the PostScript on screen or printer according to local lore
# cat $psfile | rsh dix -l jkc lpr -P$DixPrinter

xpwin < $psfile



